package utils

func IndexContains(index int, list []int) bool {

	for _, i := range list {
		if i == index {
			return true
		}
	}

	return false
}
